package com.atguigu.mystarter.service;

import com.atguigu.mystarter.bean.MyStarterProperties;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * 默认不放在容器中
 */
public class MyStarterService {

    @Autowired
    MyStarterProperties helloProperties;

    public String helloMyStarterService(String s){
        return helloProperties.getPrefix()+"MyStarter我自己设计的starter"+s+helloProperties.getSuffix();
    }

}
